package day04.edu;

// Created: 09/04/2025, ChangJiang Ru
public class Test {
    public static void main(String[] args) {
        MyInteger myInteger = new MyInteger(10);
        String str = "Hello";
        String str1 = "11";
        System.out.println(myInteger.toString());
//        System.out.println(str);
//        System.out.println(str1);
        System.out.println("========111");

        int i1 = 20;
        Integer ii1 = Integer.valueOf(i1);
//        Integer i111 = 3;
//        Integer ii1 = new Integer(i1);
        System.out.println(ii1.toString());
        System.out.println("========222");

        boolean b1 = true;
        Boolean bb1 = Boolean.valueOf(b1);
        System.out.println(bb1.toString());
        System.out.println("=======333");

        float f1 = 12.34f;
        Float ff1 = Float.valueOf(f1);
        System.out.println(ff1);
        System.out.println("========444");

        float v = ff1.floatValue();
        System.out.println(v);

        Run run = new Run();
        System.out.println(run.b1); // null
        System.out.println(run.bb1); // false

        int i2 = 10;
        Integer ii2 = 10;
        System.out.println(ii2);

        int i3 = ii2;
        System.out.println(i3);
    }
}

class Run
{
    Boolean b1;
    boolean bb1;
}